﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ARS.Control.Custom.Entity.Forms
{
    public class FloatForm:CharValidateForm
    {
        protected override string GetValidateReg()
        {
            return @"^(-?\d+)(\.\d+)?$";
        }
        protected override string GetValidateTip()
        {
            return "只允许输入浮点数";
        }
    }
}
